<!--<?php
print<<<EF
-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="templates/msystem/ljy.css" rel="stylesheet" type="text/css" />
<link href="ljy.css" rel="stylesheet" type="text/css" />
</head>

<base target="_self" />
<body style="text-align:left">
<!--
EF;
print<<<EF
-->
<form name="form1" method="post" action="change_db.php?action=list">
<input type="hidden" name="action" value="edit" /> 
<table style=" float:left;" width="100%" border="0" cellpadding="3" cellspacing="0" bgcolor="#FFFFFF">
  <tr>
<th align="center" valign="middle" bgcolor="#F0F0F0">设置中心系统数据库</th>
<th align="center" valign="middle" bgcolor="#F0F0F0"></th>
  </tr>
  <tr>
<td width="30%" align="center" valign="middle" bgcolor="#F0F0F0">数据库地址</td>
<td width="30%" align="center" valign="middle"><input class="inputtext" type="text" name="ip" value="$dsip"  /></td>
  </tr>
  <td width="30%" align="center" valign="middle" bgcolor="#F0F0F0">端口号</td>
<td width="30%" align="center" valign="middle"><input class="inputtext" type="text" name="ip" value="$dsport"  /></td>
  </tr>
  <tr>
	<td width="15%" align="center" valign="middle" bgcolor="#F0F0F0">用户名</td>
	<td width="15%" align="center"valign="middle"><input class="inputtext" type="text" name="username" value="$dsuser"  /></td>
	</tr>
  <tr>
	<td width="15%" align="center" valign="middle" bgcolor="#F0F0F0">密码</td>
	<td width="15%" align="center"valign="middle"><input class="inputtext" type="password" name="pwd" value="$dspw"  /></td>
	</tr>
  <tr>
    <td width="15%" align="center"valign="middle" bgcolor="#F0F0F0">数据库名</td>
	<td width="15%" align="center"valign="middle"><input class="inputtext" type="text" name="dbname" value="$dsname"  /></td>
	</tr>
</table>

<table style=" float:left;" width="100%" border="0" cellpadding="3" cellspacing="0" bgcolor="#FFFFFF">
  <tr>
<th align="center" valign="middle" bgcolor="#F0F0F0">设置前台网站数据库</th>
<th align="center" valign="middle" bgcolor="#F0F0F0"></th>
  </tr>
  <tr>
<td width="30%" align="center" valign="middle" bgcolor="#F0F0F0">数据库地址</td>
<td width="30%" align="center" valign="middle"><input class="inputtext" type="text" name="ip" value="$dbhost"  /></td>
  </tr>
  <tr>
	<td width="15%" align="center" valign="middle" bgcolor="#F0F0F0">用户名</td>
	<td width="15%" align="center"valign="middle"><input class="inputtext" type="text" name="username" value="$dbuser"  /></td>
	</tr>
  <tr>
	<td width="15%" align="center" valign="middle" bgcolor="#F0F0F0">密码</td>
	<td width="15%" align="center"valign="middle"><input class="inputtext" type="password" name="pwd" value="$dbpw"  /></td>
	</tr>
  <tr>
    <td width="15%" align="center"valign="middle" bgcolor="#F0F0F0">数据库名</td>
	<td width="15%" align="center"valign="middle"><input class="inputtext" type="text" name="dbname" value="$dbname"  /></td>
	</tr>
</table>

<table style=" float:left;" width="100%" border="0" cellpadding="3" cellspacing="0" bgcolor="#FFFFFF">
  <tr>
<th align="center" valign="middle" bgcolor="#F0F0F0">设置后台数据库</th>
<th align="center" valign="middle" bgcolor="#F0F0F0"></th>
  </tr>
  <tr>
<td width="30%" align="center" valign="middle" bgcolor="#F0F0F0">数据库地址</td>
<td width="30%" align="center" valign="middle"><input class="inputtext" type="text" name="ip" value="$dbhost"  /></td>
  </tr>
  <tr>
	<td width="15%" align="center" valign="middle" bgcolor="#F0F0F0">用户名</td>
	<td width="15%" align="center"valign="middle"><input class="inputtext" type="text" name="username" value="$dbuser"  /></td>
	</tr>
  <tr>
	<td width="15%" align="center" valign="middle" bgcolor="#F0F0F0">密码</td>
	<td width="15%" align="center"valign="middle"><input class="inputtext" type="password" name="pwd" value="$dbpw"  /></td>
	</tr>
  <tr>
    <td width="15%" align="center"valign="middle" bgcolor="#F0F0F0">数据库名</td>
	<td width="15%" align="center"valign="middle"><input class="inputtext" type="text" name="dbname" value="$dbname"  /></td>
	</tr>
</table>

<table style=" float:left;" width="100%" border="0" cellpadding="3" cellspacing="0" bgcolor="#FFFFFF">
  <tr>
<th align="center" valign="middle" bgcolor="#F0F0F0">设置count数据统计数据库</th>
<th align="center" valign="middle" bgcolor="#F0F0F0"></th>
  </tr>
  <tr>
<td width="30%" align="center" valign="middle" bgcolor="#F0F0F0">数据库地址</td>
<td width="30%" align="center" valign="middle"><input class="inputtext" type="text" name="ip" value="$dphost"  /></td>
  </tr>
  <tr>
	<td width="15%" align="center" valign="middle" bgcolor="#F0F0F0">用户名</td>
	<td width="15%" align="center"valign="middle"><input class="inputtext" type="text" name="username" value="$dpuser"  /></td>
	</tr>
  <tr>
	<td width="15%" align="center" valign="middle" bgcolor="#F0F0F0">密码</td>
	<td width="15%" align="center"valign="middle"><input class="inputtext" type="password" name="pwd" value="$dppw"  /></td>
	</tr>
  <tr>
    <td width="15%" align="center"valign="middle" bgcolor="#F0F0F0">数据库名</td>
	<td width="15%" align="center"valign="middle"><input class="inputtext" type="text" name="dbname" value="$db_torrent"  /></td>
	</tr>
</table>

<table style=" float:left;" width="100%" border="0" cellpadding="3" cellspacing="0" bgcolor="#FFFFFF">
  <tr>
<th align="center" valign="middle" bgcolor="#F0F0F0">设置Traker数据库</th>
<th align="center" valign="middle" bgcolor="#F0F0F0"></th>
  </tr>
  <tr>
<td width="30%" align="center" valign="middle" bgcolor="#F0F0F0">数据库地址</td>
<td width="30%" align="center" valign="middle"><input class="inputtext" type="text" name="ip" value="$dsdbhost"  /></td>
  </tr>
  <tr>
	<td width="15%" align="center" valign="middle" bgcolor="#F0F0F0">用户名</td>
	<td width="15%" align="center"valign="middle"><input class="inputtext" type="text" name="username" value="$dsdbuser"  /></td>
	</tr>
  <tr>
	<td width="15%" align="center" valign="middle" bgcolor="#F0F0F0">密码</td>
	<td width="15%" align="center"valign="middle"><input class="inputtext" type="password" name="pwd" value="$dsdbpw"  /></td>
	</tr>
  <tr>
    <td width="15%" align="center"valign="middle" bgcolor="#F0F0F0">数据库名</td>
	<td width="15%" align="center"valign="middle"><input class="inputtext" type="text" name="dbname" value="$traname"  /></td>
	</tr>
</table>

<table style=" float:left;" width="100%" border="0" cellpadding="3" cellspacing="0" bgcolor="#FFFFFF">
  <tr>
<th align="center" valign="middle" bgcolor="#F0F0F0">设置用户数据库</th>
<th align="center" valign="middle" bgcolor="#F0F0F0"></th>
  </tr>
  <tr>
<td width="30%" align="center" valign="middle" bgcolor="#F0F0F0">数据库地址</td>
<td width="30%" align="center" valign="middle"><input class="inputtext" type="text" name="ip" value="$dbhost"  /></td>
  </tr>
  <tr>
	<td width="15%" align="center" valign="middle" bgcolor="#F0F0F0">用户名</td>
	<td width="15%" align="center"valign="middle"><input class="inputtext" type="text" name="username" value="$dbuser"  /></td>
	</tr>
  <tr>
	<td width="15%" align="center" valign="middle" bgcolor="#F0F0F0">密码</td>
	<td width="15%" align="center"valign="middle"><input class="inputtext" type="password" name="pwd" value="$dbpw"  /></td>
	</tr>
  <tr>
    <td width="15%" align="center"valign="middle" bgcolor="#F0F0F0">数据库名</td>
	<td width="15%" align="center"valign="middle"><input class="inputtext" type="text" name="dbname" value="$dzname"  /></td>
	</tr>
</table>

   <div id="pagediv" align="center">
   <input style="background:#FCE898; border:#CCCCCC solid 1px; width:60px; padding-top:5px;" type="submit"  name="msubmit"  value="提 交" />
   　 
   <input style="background:#FCE898; border:#CCCCCC solid 1px; width:60px; padding-top:5px;" name="reset" type="reset" value="重置" />
</div>
</form>

</body>
</html>
<!--
EF;
?>
-->